﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Day02NightInterface
{
    public class Circle:ICalculate
    {
        public float Radius
        {
            get;
            set;
        }

        public float CalculateArea()
        {
            return (float)(Math.PI * Math.Pow(Radius, 2));
        }

        public float CalculatePerimeter()
        {
            return (float)(2 * Math.PI * Radius);
        }
    }
}